package com.sluggard.security.manage.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sluggard.mp.model.req.BaseReq;
import com.sluggard.security.manage.model.entity.DictDataEntity;
import com.sluggard.security.manage.model.entity.DictTypeEntity;
import com.sluggard.security.manage.model.req.ChangeStatusReq;

import java.util.List;

/**
 * <p>
 * 字典类型表 服务类
 * </p>
 *
 * @author lizheng
 * @since 2024-05-07
 */
public interface IDictTypeService extends IService<DictTypeEntity> {

    List<DictTypeEntity> onList(QueryWrapper<DictTypeEntity> queryWrapper);

    DictTypeEntity show(BaseReq req);

    void onTables(QueryWrapper<DictTypeEntity> chainWrapper, Page<DictTypeEntity> page);

    void changeStatus(ChangeStatusReq req);

}
